package io.seata.samples.nacos.call.config;

import org.apache.seata.spring.annotation.GlobalTransactionScanner;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * seata global configuration
 *
 * @author Administrator
 */
@Configuration
public class SeataAutoConfig {
    @Bean
    public GlobalTransactionScanner globalTransactionScanner() {
        return new GlobalTransactionScanner("seata-nacos-business", "default_tx_group");
    }
}
